package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.StaffBookChangeRelationLogDao;
import io.wdb.modules.generator.generator.entity.StaffBookChangeRelationLogEntity;
import io.wdb.modules.generator.generator.service.StaffBookChangeRelationLogService;



@Service("staffBookChangeRelationLogService")
public class StaffBookChangeRelationLogServiceImpl implements StaffBookChangeRelationLogService {
	@Autowired
	private StaffBookChangeRelationLogDao staffBookChangeRelationLogDao;
	
	@Override
	public StaffBookChangeRelationLogEntity queryObject(Long id){
		return staffBookChangeRelationLogDao.queryObject(id);
	}
	
	@Override
	public List<StaffBookChangeRelationLogEntity> queryList(Map<String, Object> map){
		return staffBookChangeRelationLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return staffBookChangeRelationLogDao.queryTotal(map);
	}
	
	@Override
	public void save(StaffBookChangeRelationLogEntity staffBookChangeRelationLog){
		staffBookChangeRelationLogDao.save(staffBookChangeRelationLog);
	}
	
	@Override
	public void update(StaffBookChangeRelationLogEntity staffBookChangeRelationLog){
		staffBookChangeRelationLogDao.update(staffBookChangeRelationLog);
	}
	
	@Override
	public void delete(Long id){
		staffBookChangeRelationLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		staffBookChangeRelationLogDao.deleteBatch(ids);
	}
	
}
